package com.ruoyi.vstac.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 截止日期
 *
 * @author kingner
 * @date 2024-07-08
 */
public class Deadline {
    /**
     * 上传截止日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date uploadDeadline;

    /**
     * 审批截止日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date reviewDeadline;

    public Deadline() {
    }
    public Date getUploadDeadline() {
        return uploadDeadline;
    }

    public void setUploadDeadline(Date uploadDeadline) {
        this.uploadDeadline = uploadDeadline;
    }

    public Date getReviewDeadline() {
        return reviewDeadline;
    }

    public void setReviewDeadline(Date reviewDeadline) {
        this.reviewDeadline = reviewDeadline;
    }

    @Override
    public String toString() {
        return "Deadline{" +
                "uploadDeadline=" + uploadDeadline +
                ", reviewDeadline=" + reviewDeadline +
                '}';
    }
}
